// eslint-disable-next-line no-unused-vars
import axios from 'axios'
import {get, post} from './httpCanj'
// export const login = p => post('/account/login', p);
// 登录
export const login = p => get('/disablerboot/disablerbootUser/findByup', p)
// 人员管理
export const listPeople = p => get('/disablerboot/disablerbootUser/listDisPeople', p)
// 详情以及康复需求调查表
export const findOne = p => get('/disablerboot/disablerbootUser/findOne', p)
// 新增残疾人
export const saveDisPeople = p => post('/disablerboot/disablerbootUser/saveDisPeople', p)
// 查询所有康复服务记录
export const listServiceRecord = p => get('/disablerboot/serviceRecord/listServiceRecord', p)
// 查询搜索康复记录项目
export const listServiceXiangmu = p => get('/disablerboot/serviceXiangmu/listServiceXiangmu', p)
// 新增康复记录
export const saveServiceRecord = p => get('/disablerboot/serviceRecord/saveServiceRecord', p)
// 查询所有康复服务评价
export const EvaluationOrderBy = p => get('/disablerboot/rehabilitationEvaluationController/selectRehabilitationEvaluationOrderBy', p)
// 查询一条康复服务评价
export const bilitataionById = p => get('/disablerboot/rehabilitationEvaluationController/findRehabilitataionById', p)
// 新增和修改康复评价
export const litationEvaluation = p => post('/disablerboot/rehabilitationEvaluationController/saupRehabilitationEvaluation', p)
// 查看个人健康档案信息
export const healthFormationpeople = p => get('/disablerboot/healthFormationpeople/findOnehealthFormationpeopleTuoMin', p)

// 获取我的评估列表
export const getMySubjects = p => get('/kfhl/miniassess/getMySubjects', p)
// 获取我的评估列表
export const list = p => get('/kfhl/miniassess/list', p)
// 查询训练登记档案
export const finddisxunlian = p => get('/disablerboot/disablerbootUser/finddisxunlian', p)
// 新增和修改训练登记
export const savedisxunlian = p => get('/disablerboot/disablerbootUser/savedisxunlian', p)
